export default function h5Copy(content) {

  let input = document.createElement("input")
  input.value = content
  input.readOnly = "readOnly"
  document.body.appendChild(input)
  input.select()
  input.setSelectionRange(0, content.length)
  let result = document.execCommand("Copy")
  input.remove()
  return result

}